<?php require_once('./modulos/header.php'); ?>
<?php require_once('./BD/prueba_bd.php'); ?>

<body>
    <!--[if lt IE 7]>
        <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
    <![endif]-->




    <?php require_once('./modulos/navbar.php'); ?>         

    <!-- Main jumbotron for a primary marketing message or call to action -->
    <div class="jumbotron">
        <div class="container">
            <h1>Sirve la BD!!</h1>
        </div>
    </div>




    <div class="container">
        <!-- Example row of columns -->
        <div class="row">


            <div class="col-lg-8">





  
                    </br></br>

                    <table id= "tablaprueba" class="table table-bordered" >
                        <thead>
                            <tr>

                                <th>Campo 1</th>
                                <th>Campo 2</th>
                                <th>Campo 3</th>
                            </tr>

                        </thead>
                        <tbody align="center">
                            <?php
                            while ($array = pg_fetch_array($datos)) {
                                ?>
                                    <tr>
                                        <td><?php echo $array ['campo1']; ?></td>
                                        <td><?php echo $array ['campo2']; ?></td>
                                        <td><?php echo $array ['campo3']; ?></td>
                                    </tr>   
                            <?php } ?>       
                        </tbody>              
                    </table>


                    <div id="pageNavTransacciones" style="padding-top: 20px" align="center">
                    </div>



                </div>

            </div>    











<?php require_once('./modulos/sidebar.php'); ?>           

        </div>

        <hr>

<?php require_once('./modulos/footer.php'); ?> 


    </div> <!-- /container -->

<?php require_once('./modulos/scriptjs.php'); ?> 

</body>
</html>
